package com.dokimall.order.feign;

import com.dokimall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @ClassName: ProductFeignService
 * @Description:
 * @Author
 * @Date 2021/10/28
 * @Version 1.0
 */

@FeignClient("dokimall-product")
public interface ProductFeignService {
    @GetMapping("/product/spuinfo/getSpuBySku")
    R getSpuInfoBySkuId(@RequestParam("skuId")Long skuId);
}
